<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div id="leftmenu_alt">
	<c:if test="${requestScope.widget != null}" >
		<c:choose>
			<c:when test="${requestScope.widget.equals('student')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="add_student" title="Добавить студента">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="del_student" title="Удалить студента(-ов)">Х</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('add_student')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_student" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="add_form_student" title="Добавить еще форму">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="reset_form_student" title="Сбросить поля">X</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_student" title="Сохранить">V</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('edit_student')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_student" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>				
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_student" title="Сохранить">V</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('group')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="add_group" title="Добавить группу">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="del_group" title="Удалить группу(-ы)">X</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('add_group')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_group" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="add_form_group" title="Добавить еще форму">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="reset_form_group" title="Сбросить поля">X</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_group" title="Сохранить">V</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('program')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="add_program" title="Добавить программу">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="del_program" title="Удалить программу(-ы)">X</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('add_program')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_program" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="add_form_program" title="Добавить еще форму">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="reset_form_program" title="Сбросить поля">X</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_program" title="Сохранить">V</div></div>		
			</c:when>
			<c:when test="${requestScope.widget.equals('theme')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="add_theme" title="Добавить тему">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="del_theme" title="Удалить тему(-ы)">X</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('add_theme')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_theme" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="add_form_theme" title="Добавить еще форму">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="reset_form_theme" title="Сбросить поля">X</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_theme" title="Сохранить">V</div></div>		
			</c:when>
			<c:when test="${requestScope.widget.equals('practice')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="add_practice" title="Добавить практику">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="del_practice" title="Удалить практику(-и)">X</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('add_practice')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_practice" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="add_form_practice" title="Добавить еще форму">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="reset_form_practice" title="Сбросить поля">X</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_practice" title="Сохранить">V</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('edit_practice')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_practice" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>				
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_practice" title="Сохранить">V</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('lecture')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="add_lecture" title="Добавить лекцию">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="del_lecture" title="Удалить лекцию(-ии)">X</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('add_lecture')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_lecture" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="add_form_lecture" title="Добавить еще форму">+</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="reset_form_lecture" title="Сбросить поля">X</div></div>
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_lecture" title="Сохранить">V</div></div>
			</c:when>
			<c:when test="${requestScope.widget.equals('edit_lecture')}" >
				<div class="leftmenu_alt_entry"><div class="widget" id="back_to_lecture" title="Назад к списку">&lt;</div></div>
				<div class="leftmenu_alt_entry"><div class="leftmenu_alt_space"></div></div>				
				<div class="leftmenu_alt_entry"><div class="widget" id="send_form_lecture" title="Сохранить">V</div></div>
			</c:when>
		</c:choose>
	</c:if>
</div>
<script type="text/javascript">
$(function() {
$('#leftmenu_alt').animate({
    left: '+=50',
    opacity: '1'
  }, 500, function() {
    // Animation complete.
  });
});
</script>